<?php
/*
 YARPP Template: List
 Description: This template returns the related posts as a comma-separated list.
 Author: mitcho (Michael Yoshitaka Erlewine)
 */
?>

<?php if (have_posts()):?>
<ul>
<?php while (have_posts()) : the_post(); ?>
	<li class="clearfix news_box"><a class="block_img"
		href="<?php the_permalink() ?>"
		title="<?php the_title_attribute(); ?>"> <?php echo the_post_thumbnail('thumb',array('style'=>'width:71px;height:71px','title'=>get_the_title(),'alt'=>get_the_title()) );?>
	</a>
		<div>
			<h2>
				<a class="product_link" href="<?php the_permalink() ?>"
					title="<?php the_title_attribute(); ?>"><?php echo get_the_title()?>
				</a>
			</h2>
			<p class="product_descr">
			<?php echo get_the_excerpt()?>
			</p>
		</div>
	</li>
	<?php endwhile; ?>
</ul>
	<?php else:?>
<p>No related posts.</p>
<?php endif; ?>
